Skip to content

refactor(harness): remove the veadk agentkit harness command group#604

Merged
zakahan merged 1 commit into
mainfrom
chore/remove-agentkit-harness
Jun 12, 2026
Merged

refactor(harness): remove the veadk agentkit harness command group#604
zakahan merged 1 commit into
mainfrom
chore/remove-agentkit-harness

Conversation

@yaozheng-fang

Copy link
Copy Markdown
Collaborator

Why

Harness commands now live solely under the top-level veadk harness group. The veadk agentkit harness group was a leftover from the original design:

Keeping harness under both groups was redundant and confusing.

Changes

  • Remove the harness group, harness_invoke, and agentkit.add_command(harness) from cli_agentkit.py (drops the now-unused import json there).
  • Move the shared _harness_request HTTP helper into cli_harness.py (its only remaining caller — veadk harness invoke), so there's no cross-module import.
  • Delete the group's contract tests (tests/cli/test_cli_agentkit_harness_contract.py).
  • Update the runtime docs that referenced veadk agentkit harness add/invokeveadk harness add/invoke.

Verification

  • veadk agentkit --help no longer lists harness; veadk harness invoke --help loads fine (helper localized).
  • ruff + pyright clean; full suite green (272 passed).

🤖 Generated with Claude Code

Harness commands now live solely under the top-level `veadk harness` group.
`veadk agentkit harness invoke` was a leftover thin HTTP client fully superseded
by `veadk harness invoke` (which also accepts explicit --url/--key), and its
`add` was already removed. Drop the whole group; move the shared `_harness_request`
helper into cli_harness.py (its only remaining caller); delete the group's
contract tests; update the runtime docs that referenced it.
@zakahan zakahan merged commit 13d7317 into main Jun 12, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants